﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using NekoVampire.TwitterClient.Twitter;

namespace NekoVampire.TwitterClient.Controls
{
    public class ListViewItemEx : ListViewItem, IComparable, IComparable<ListViewItem>, IComparable<ListViewItemEx>
    {
        public new Status Tag
        {
            get { return (Status)base.Tag; }
            set { base.Tag = value; }
        }

        public int CompareTo(object obj)
        {
            return new ListViewItemComparer().Compare(this, obj);
        }

        public int CompareTo(ListViewItem obj)
        {
            return new ListViewItemComparer().Compare(this, obj);
        }

        public int CompareTo(ListViewItemEx obj)
        {
            return new ListViewItemComparer().Compare(this, obj);
        }
    }
}